home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 June / MacFormat 25.iso / Shareware City / Developers / OutOfPhase1.1 Source / OutOfPhase Folder / Level 0 Macintosh 01Jan95 / FloatingPoint.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-30  |  1.8 KB  |  62 lines  |  [TEXT/KAHL]

  1. /* FloatingPoint.h */
  2.  
  3. #ifndef Included_FloatingPoint_h
  4. #define Included_FloatingPoint_h
  5.  
  6. /* FloatingPoint module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* SANE */
  12.  
  13. long double                XGETPI(void);
  14. long double                XATAN(long double X);
  15. long double                XCOS(long double X);
  16. long double                XEXP(long double X);
  17. long double                XFABS(long double X);
  18. long double                XLN(long double X);
  19. long double                XSIN(long double X);
  20. long double                XSQRT(long double X);
  21. long double                XTAN(long double X);
  22. long double                XPOWER(long double X, long double Y);
  23. long double                XACOS(long double X);
  24. long double                XASIN(long double X);
  25. long double                XCEIL(long double X);
  26. long double                XFLOOR(long double X);
  27.  
  28. MyBoolean                    ISNAN(long double X);
  29.  
  30.  
  31. #define DGETPI() ((double)XGETPI())
  32. #define DATAN(x) ((double)XATAN((x)))
  33. #define DCOS(x) ((double)XCOS((x)))
  34. #define DEXP(x) ((double)XEXP((x)))
  35. #define DFABS(x) ((double)XFABS((x)))
  36. #define DLN(x) ((double)XLN((x)))
  37. #define DSIN(x) ((double)XSIN((x)))
  38. #define DSQRT(x) ((double)XSQRT((x)))
  39. #define DTAN(x) ((double)XTAN((x)))
  40. #define DPOWER(x,y) ((double)XPOWER((x),(y)))
  41. #define DACOS(x) ((double)XACOS((x)))
  42. #define DASIN(x) ((double)XASIN((x)))
  43. #define DCEIL(x) ((double)XCEIL((x)))
  44. #define DFLOOR(x) ((double)XFLOOR((x)))
  45.  
  46. #define FGETPI() ((float)XGETPI())
  47. #define FATAN(x) ((float)XATAN((x)))
  48. #define FCOS(x) ((float)XCOS((x)))
  49. #define FEXP(x) ((float)XEXP((x)))
  50. #define FFABS(x) ((float)XFABS((x)))
  51. #define FLN(x) ((float)XLN((x)))
  52. #define FSIN(x) ((float)XSIN((x)))
  53. #define FSQRT(x) ((float)XSQRT((x)))
  54. #define FTAN(x) ((float)XTAN((x)))
  55. #define FPOWER(x,y) ((float)XPOWER((x),(y)))
  56. #define FACOS(x) ((float)XACOS((x)))
  57. #define FASIN(x) ((float)XASIN((x)))
  58. #define FCEIL(x) ((float)XCEIL((x)))
  59. #define FFLOOR(x) ((float)XFLOOR((x)))
  60.  
  61. #endif
  62.